/**
 * 
 */
package tests;

import jmunit.framework.cldc11.TestCase;

/**
 * @author Marco
 *
 */
public class OnibusTests extends TestCase {

	/**
	 * The default constructor. It just transmits the necessary informations to
	 * the superclass.
	 * 
	 * @param totalOfTests the total of test methods present in the class.
	 * @param name this testcase's name.
	 */
	public OnibusTests() {
		super(11, "OnibusTests");
	}

	/**
	 * Test for method: String toString().
	 * 
	 * @see horarios.Onibus#toString()
	 */
	public void toString1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void carrega().
	 * 
	 * @see horarios.Onibus#carrega()
	 */
	public void carrega1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: String getNomeOnibus().
	 * 
	 * @see horarios.Onibus#getNomeOnibus()
	 */
	public void getNomeOnibus1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void setNomeOnibus(String nomeOnibus).
	 * 
	 * @see horarios.Onibus#setNomeOnibus(String nomeOnibus)
	 */
	public void setNomeOnibus1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: String getOrigem().
	 * 
	 * @see horarios.Onibus#getOrigem()
	 */
	public void getOrigem1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void setOrigem(String origem).
	 * 
	 * @see horarios.Onibus#setOrigem(String origem)
	 */
	public void setOrigem1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: String getDestino().
	 * 
	 * @see horarios.Onibus#getDestino()
	 */
	public void getDestino1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void setDestino(String destino).
	 * 
	 * @see horarios.Onibus#setDestino(String destino)
	 */
	public void setDestino1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: Vector getListaHorarios().
	 * 
	 * @see horarios.Onibus#getListaHorarios()
	 */
	public void getListaHorarios1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void setListaHorarios(Vector listaHorarios).
	 * 
	 * @see horarios.Onibus#setListaHorarios(Vector listaHorarios)
	 */
	public void setListaHorarios1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void adicionaHorario(Horario novoHorario).
	 * 
	 * @see horarios.Onibus#adicionaHorario(Horario novoHorario)
	 */
	public void adicionaHorario1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * A empty method used by the framework to initialize the tests. If there's
	 * 5 test methods, the setUp is called 5 times, one for each method. The
	 * setUp occurs before the method's execution, so the developer can use it
	 * to any necessary initialization. It's necessary to override it, however.
	 * 
	 * @throws Throwable anything that the initialization can throw.
	 */
	public void setUp() throws Throwable {
	}

	/**
	 * A empty mehod used by the framework to release resources used by the
	 * tests. If there's 5 test methods, the tearDown is called 5 times, one for
	 * each method. The tearDown occurs after the method's execution, so the
	 * developer can use it to close something used in the test, like a
	 * nputStream or the RMS. It's necessary to override it, however.
	 */
	public void tearDown() {
	}

	/**
	 * This method stores all the test methods invocation. The developer must
	 * implement this method with a switch-case. The cases must start from 0 and
	 * increase in steps of one until the number declared as the total of tests
	 * in the constructor, exclusive. For example, if the total is 3, the cases
	 * must be 0, 1 and 2. In each case, there must be a test method invocation.
	 * 
	 * @param testNumber the test to be executed.
	 * @throws Throwable anything that the executed test can throw.
	 */
	public void test(int testNumber) throws Throwable {
		switch (testNumber) {
		case 0:
			toString1Test();
			break;
		case 1:
			carrega1Test();
			break;
		case 2:
			getNomeOnibus1Test();
			break;
		case 3:
			setNomeOnibus1Test();
			break;
		case 4:
			getOrigem1Test();
			break;
		case 5:
			setOrigem1Test();
			break;
		case 6:
			getDestino1Test();
			break;
		case 7:
			setDestino1Test();
			break;
		case 8:
			getListaHorarios1Test();
			break;
		case 9:
			setListaHorarios1Test();
			break;
		case 10:
			adicionaHorario1Test();
			break;
		}
	}

}
